/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.ejb.sessionbean;

import cassys.dataaccess.DAOException;
import cassys.datatransferobjects.LecturerDTO;
import cassys.datatransferobjects.StudentDTO;
import cassys.datatransferobjects.UserDTO;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import javax.ejb.Remote;

/**
 *
 * @author ASUS
 */
@Remote
public interface StudentBeanRemote {

   java.util.ArrayList <StudentDTO> findAllStudents() throws DAOException;

    StudentDTO findStudent(String userName) throws DAOException;

    void updateStudent(StudentDTO user) throws DAOException;

    void insertStudent(StudentDTO module) throws DAOException;
     void deleteStudent(StudentDTO module) throws DAOException;

    boolean studentValidate(String userid, String password) throws DAOException;
}
